# -*- coding:utf-8 -*-
"""
@author: fsksf

@since: 2022/4/12 21:06
"""

from vcat.core.constant import RunningMod
from vcat.server.server import app


def make_server(mod='REAL', port=9888):
    """
    启动服务
    :param mod: real 实盘， backtest 回测
    :param port: 端口
    :return:
    """

    app.make_app(mod=RunningMod[mod], port=port)


if __name__ == '__main__':
    make_server()